package ee.moviesearch.rss;

import java.util.ArrayList;
import java.util.List;

/*
 * Stores an RSS feed
 */
public class Feed {

	final String link;
	final List<FeedMessage> entries = new ArrayList<FeedMessage>();

	public Feed(String link) {
		this.link = link;
	}

	public List<FeedMessage> getMessages() {
		return entries;
	}

	public String getLink() {
		return link;
	}
        
	@Override
	public String toString() {
		return link;
	}

}